package com.yc.cloud.openai.portal.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yc.cloud.common.basic.dto.BaseQueryParam;
import com.yc.cloud.openai.entity.AudioRecord;
import com.yc.cloud.openai.portal.dto.request.AudioRecordListParam;
import com.yc.cloud.openai.vo.AudioRecordVo;

/**
 * <p>
 * AI音频记录 服务类
 * </p>
 *
 * @author Yancy
 * @since 2025-02-19
 */
public interface AudioRecordService extends IService<AudioRecord> {

  /***
   * description:查询列表
   * 
   * @param param 查询条件
   * @return 数据信息
   */
  IPage<AudioRecordVo> list(AudioRecordListParam param, BaseQueryParam queryParam);

  AudioRecordVo convertVo(AudioRecord audiorecord);

  List<AudioRecordVo> convertVo(List<AudioRecord> audiorecordList);

  AudioRecord create(AudioRecord param);

  AudioRecordVo get(Long id);

  AudioRecord update(Long id, AudioRecord audiorecord);

  boolean delete(Long id);
}
